import request from "@/utils/request";

export function addScore( trainingPlanId, score) {
    return request({
        url: '/score/addScore?trainingPlanId='+trainingPlanId+"&score="+score,
        method: 'post',
    })
}


export function getExamSituationOfOnePlan(user, page, pageSize) {
    return request({
        url: '/score/getExamSituationOfOnePlan?'+'page='+page+'&pageSize='+pageSize,
        method: 'post',
        data: user
    })
}


export function getExamSituationList(user) {
    return request({
        url: '/score/getExamSituationList',
        method: 'post',
        data: user
    })
}
